package com.fly.feishu.web.constant;

public interface FeishuWebConstant {
    /**
	 * token
	 */
	int RESCODE_REFTOKEN_MSG = 1006;		//刷新TOKEN(有返回数据)
	int RESCODE_REFTOKEN = 1007;			//刷新TOKEN
	
	int JWT_ERRCODE_NULL = 4000;			//Token不存在
	int JWT_ERRCODE_EXPIRE = 4001;			//Token过期
	int JWT_ERRCODE_FAIL = 4002;			//验证不通过

	/**
	 * JWT
	 */
	String JWT_SECERT = "8677df7fc3a34e26a61c034d5ec8245d";			//密匙
	long JWT_TTL = 60 * 60 * 1000;									//token有效时间
	/**
	 * JWT token名称
	 */
	String TOKEN_NAME = "feishu-api-project-token";
	/**
	 * 飞书认证state码
	 */
	String FEISHU_STATE_CODE = "401desf56sd";

	/**
	 * 登陆链接
	 */
	String LOGIN_URL = "https://open.feishu.cn/open-apis/authen/v1/index?redirect_uri=http://121.41.72.89:8090/templates/feishuTokenAuth.html&app_id=cli_a0fe9aecd778900e&state=" + FEISHU_STATE_CODE;




}